#ifndef QTVRGUIMAIN_H
#define QTVRGUIMAIN_H

//(*Headers(qtvrGUIDialog)
#include <wx/sizer.h>
#include <wx/stattext.h>
#include <wx/textctrl.h>
#include <wx/checkbox.h>
#include <wx/spinctrl.h>
#include <wx/button.h>
#include <wx/dirdlg.h>
#include <wx/dialog.h>
#include <wx/html/htmlwin.h>
//*)

#include <wx/image.h>
#include "qtvr.h"

class qtvrGUIDialog: public wxDialog
{
    public:

        qtvrGUIDialog(wxWindow* parent,wxWindowID id = -1);
        virtual ~qtvrGUIDialog();

    private:

        wxInt32 windowWidth;
        wxInt32 windowHeight;
        wxUint32 imageCount;
        wxArrayString imageFiles;

        void DrawImageMatrix();

        //(*Handlers(qtvrGUIDialog)
        void OnQuit(wxCommandEvent& event);
        void OnAbout(wxCommandEvent& event);
        void OnButtonBrowseClick(wxCommandEvent& event);
        void OnButtonMakeQTVRClick(wxCommandEvent& event);
        void OnCheckBoxFlipPanClick(wxCommandEvent& event);
        void OnCheckBoxFlipTiltClick(wxCommandEvent& event);
        void OnSpinCtrlRowCountChange(wxSpinEvent& event);
        void OnResize(wxSizeEvent& event);
        void OnButtonShowHelpClick(wxCommandEvent& event);
        //*)

        //(*Identifiers(qtvrGUIDialog)
        static const long ID_TEXTCTRL1;
        static const long ID_BUTTON1;
        static const long ID_HTMLWINDOW1;
        static const long ID_SPINCTRL2;
        static const long ID_STATICTEXT2;
        static const long ID_SPINCTRL1;
        static const long ID_STATICTEXT1;
        static const long ID_CHECKBOX1;
        static const long ID_CHECKBOX2;
        static const long ID_BUTTON3;
        static const long ID_TEXTCTRL2;
        static const long ID_BUTTON2;
        //*)

        //(*Declarations(qtvrGUIDialog)
        wxStaticBoxSizer* StaticBoxSizer2;
        wxFlexGridSizer* FlexGridSizer4;
        wxSpinCtrl* SpinCtrlRowCount;
        wxCheckBox* CheckBoxFlipPan;
        wxStaticText* StaticText2;
        wxDirDialog* DirDialogBrowse;
        wxButton* Button1;
        wxFlexGridSizer* FlexGridSizer3;
        wxCheckBox* CheckBoxFlipTilt;
        wxFlexGridSizer* FlexGridSizer5;
        wxButton* ButtonBrowse;
        wxFlexGridSizer* FlexGridSizer2;
        wxStaticText* StaticText1;
        wxSpinCtrl* SpinCtrlImageCount;
        wxStaticBoxSizer* StaticBoxSizer3;
        wxTextCtrl* TextCtrlDirecory;
        wxBoxSizer* BoxSizer1;
        wxButton* ButtonShowHelp;
        wxFlexGridSizer* FlexGridSizer6;
        wxStaticBoxSizer* StaticBoxSizer1;
        wxFlexGridSizer* FlexGridSizer1;
        wxTextCtrl* TextCtrlHelp;
        wxHtmlWindow* HtmlWindowPreview;
        //*)

        DECLARE_EVENT_TABLE()
};

#endif // QTVRGUIMAIN_H
